import request from '@/utils/request'
import { ResultJobInfoVo, DeepRequired } from '../../interface'

/**
 * 管理员根据Id获取job
 * /job/other/{id}
 */
export function getJobOtherById(params: GetJobOtherByIdParams) {
  return request.get<DeepRequired<ResultJobInfoVo>>(`/job/other/${params.id}`)
}

interface GetJobOtherByIdParams {
  id: number
}
